package jdbc.homework02;

import java.sql.Date;

public class Student {
	private long stuno;
	private String sname;
	private String sex;
	private String tel;
	private String qq;
	private String wechat;
	private long gradeid;
	private Date enterdate;
	private String fromcity;
	private Date brithday;
	private String address;
	private String pass;

	public Student() {
		super();
	}

	public Student(long stuno) {
		super();
		this.stuno = stuno;
	}

	public Student(long stuno, String sname, String sex, String tel, String qq, String wechat, long gradeid,
			Date enterdate, String fromcity, Date brithday, String address, String pass) {
		super();
		this.stuno = stuno;
		this.sname = sname;
		this.sex = sex;
		this.tel = tel;
		this.qq = qq;
		this.wechat = wechat;
		this.gradeid = gradeid;
		this.enterdate = enterdate;
		this.fromcity = fromcity;
		this.brithday = brithday;
		this.address = address;
		this.pass = pass;
	}

	@Override
	public String toString() {
		return "Student [stuno=" + stuno + ", sname=" + sname + ", sex=" + sex + ", tel=" + tel + ", qq=" + qq
				+ ", wechat=" + wechat + ", gradeid=" + gradeid + ", enterdate=" + enterdate + ", fromcity=" + fromcity
				+ ", brithday=" + brithday + ", address=" + address + ", pass=" + pass + "]";
	}

	public long getStuno() {
		return stuno;
	}

	public void setStuno(long stuno) {
		this.stuno = stuno;
	}

	public String getSname() {
		return sname;
	}

	public void setSname(String sname) {
		this.sname = sname;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getTel() {
		return tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	public String getQq() {
		return qq;
	}

	public void setQq(String qq) {
		this.qq = qq;
	}

	public String getWechat() {
		return wechat;
	}

	public void setWechat(String wechat) {
		this.wechat = wechat;
	}

	public long getGradeid() {
		return gradeid;
	}

	public void setGradeid(long gradeid) {
		this.gradeid = gradeid;
	}

	public Date getEnterdate() {
		return enterdate;
	}

	public void setEnterdate(Date enterdate) {
		this.enterdate = enterdate;
	}

	public String getFromcity() {
		return fromcity;
	}

	public void setFromcity(String fromcity) {
		this.fromcity = fromcity;
	}

	public Date getBrithday() {
		return brithday;
	}

	public void setBrithday(Date brithday) {
		this.brithday = brithday;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getPass() {
		return pass;
	}

	public void setPass(String pass) {
		this.pass = pass;
	}

}
